package com.example.openguass.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.openguass.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.openguass.vo.*;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xa
 * @since 2022-11-17
 */
public interface OrdersService extends IService<Orders> {
    Boolean insert(List<MenuDishVO> list);

    Boolean update(OrdersVO ordersVO);

    IPage<OrdersReturnVO> findPage(OrdersPageVO pageVO);

    List<MenuVO> getMenu();


    AnalysisVO getAnalysisVO(LocalDateTime dateTime);

    AnalysisVO getAnalysisVO(LocalDateTime startDateTime,LocalDateTime endDateTime);
}
